/**

gcc runas3.c && a
gcc runas3.c && ./a.out
 */
#include <stdio.h>
#include <stdlib.h>

int main()
{
#ifdef WIN32
	//system("echo %PATH%");
	system("start adl -runtime . -nodebug application.xml");
#endif
#ifdef linux
	system("export FLEX_HOME=/home/libiao/flex_sdk_4.5");
	system("$(FLEX_HOME)/bin/adl -runtime $(FLEX_HOME)/runtime/linux/ -nodebug application.xml");
#endif
	return 0;
}
//d:/flex_sdk_4.5/bin/adl -runtime .-profile desktop -nodebug ./META-INF/AIR/application.xml . 

